package cn.yunyichina.provider.message.entity;

import cn.yunyichina.provider.framework.mvc.entity.BaseEntity;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


public class MsgTemplate extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 2136080098135308647L;
	
	private String templateId;
	
	private String libraryCode;
	
	private String code;
	
	private String title;
	
	private String topColor;
	
	private Integer source;
	
	private String url;
	
	private String appId;

	
	private String iconName;
	
	private String iconPath;
	
	private String animationName;
	
	private String animationPath;

	
	private String hospitalId;

	
	private List<MsgTemplateContent> msgTemplateContents = new ArrayList<MsgTemplateContent>();

	
	private List<MsgTemplateFunction> msgTemplateFunctions = new ArrayList<MsgTemplateFunction>();

	public MsgTemplate() {
		super();
	}


	public MsgTemplate(String templateId, String libraryCode, String code, String title, String topColor, Integer source, String url, String appId,
			String iconName, String iconPath, String animationName, String animationPath, String hospitalId,
			List<MsgTemplateContent> msgTemplateContents, List<MsgTemplateFunction> msgTemplateFunctions) {
		super();
		this.templateId = templateId;
		this.libraryCode = libraryCode;
		this.code = code;
		this.title = title;
		this.topColor = topColor;
		this.source = source;
		this.url = url;
		this.appId = appId;
		this.iconName = iconName;
		this.iconPath = iconPath;
		this.animationName = animationName;
		this.animationPath = animationPath;
		this.hospitalId = hospitalId;
		this.msgTemplateContents = msgTemplateContents;
		this.msgTemplateFunctions = msgTemplateFunctions;
	}

	
	public String getTemplateId() {
		return templateId;
	}

	
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}

	
	public String getLibraryCode() {
		return libraryCode;
	}

	
	public void setLibraryCode(String libraryCode) {
		this.libraryCode = libraryCode;
	}

	
	public String getCode() {
		return code;
	}

	
	public void setCode(String code) {
		this.code = code;
	}

	
	public String getTitle() {
		return title;
	}

	
	public void setTitle(String title) {
		this.title = title;
	}

	
	public String getTopColor() {
		return topColor;
	}

	
	public void setTopColor(String topColor) {
		this.topColor = topColor;
	}

	
	public Integer getSource() {
		return source;
	}

	
	public void setSource(Integer source) {
		this.source = source;
	}

	
	public String getUrl() {
		return url;
	}

	
	public void setUrl(String url) {
		this.url = url;
	}

	
	public String getAppId() {
		return appId;
	}

	
	public void setAppId(String appId) {
		this.appId = appId;
	}

	
	public String getHospitalId() {
		return hospitalId;
	}

	
	public void setHospitalId(String hospitalId) {
		this.hospitalId = hospitalId;
	}

	
	public List<MsgTemplateContent> getMsgTemplateContents() {
		return msgTemplateContents;
	}

	
	public void setMsgTemplateContents(List<MsgTemplateContent> msgTemplateContents) {
		this.msgTemplateContents = msgTemplateContents;
	}

	/**
	 * @return the msgTemplateFunctions
	 */
	public List<MsgTemplateFunction> getMsgTemplateFunctions() {
		return msgTemplateFunctions;
	}

	/**
	 * @param msgTemplateFunctions the msgTemplateFunctions to set
	 */
	public void setMsgTemplateFunctions(List<MsgTemplateFunction> msgTemplateFunctions) {
		this.msgTemplateFunctions = msgTemplateFunctions;
	}

	/**
	 * @return the iconName
	 */
	public String getIconName() {
		return iconName;
	}

	/**
	 * @param iconName the iconName to set
	 */
	public void setIconName(String iconName) {
		this.iconName = iconName;
	}

	/**
	 * @return the iconPath
	 */
	public String getIconPath() {
		return iconPath;
	}

	/**
	 * @param iconPath the iconPath to set
	 */
	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}

	/**
	 * @return the animationName
	 */
	public String getAnimationName() {
		return animationName;
	}

	/**
	 * @param animationName the animationName to set
	 */
	public void setAnimationName(String animationName) {
		this.animationName = animationName;
	}

	/**
	 * @return the animationPath
	 */
	public String getAnimationPath() {
		return animationPath;
	}

	/**
	 * @param animationPath the animationPath to set
	 */
	public void setAnimationPath(String animationPath) {
		this.animationPath = animationPath;
	}

}
